package com.sgb.kjwl.view.ui.adapter.enterprise;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.swgk.core.view.entity.MenuEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

/**
 * Created by WYJ on 2020/8/26.
 */
public class EpNewMenuAdapter extends BaseRecycleAdapter<MenuEntity<Object>> {

    public EpNewMenuAdapter(Context context, List<MenuEntity<Object>> datas) {
        super(context, R.layout.item_menu_ep_new, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, MenuEntity<Object> objectMenuEntity) {
        holder.setBinding(BR.viewModel, objectMenuEntity);
    }

}
